Skip to content

Instantly share code, notes, and snippets.

Visual Studio 2026 18.x
Professional: NVTDK-QB8J9-M28GR-92BPC-BTHXK
Enterprise: VYGRN-WPR22-HG4X3-692BF-QGT2V
Product Year Version Product Keys
Visual Studio 2022 2021 17.x
Professional: TD244-P4NB7-YQ6XK-Y8MMM-YWV2J
Enterprise: VHF9H-NXBBB-638P6-6JHCY-88JWH
Visual Studio 2019 2019 16.x
@dhinakg
dhinakg / serial.md
Created December 15, 2025 18:27
Getting serial on modern Macs

Getting serial on modern Macs

Modern devices default to serial output over DockChannel by default, which is why macvdmtool serial doesn't work. In order to use legacy UART:

On the target device:

  1. Disable SIP
  2. Disable boot-arg filtering
  3. Set the following boot args:
  • serial=3 (or serial=7 or whatever)
@alphaolomi
alphaolomi / sql_server.md
Last active December 21, 2025 14:46
SQL Server for Linux(Debian/Ubuntu)

SQL Server

Install the SQL Server command-line tools

  • Import the public repository GPG keys.
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
@IlyaKisil
IlyaKisil / OSX_writing_to_ntfs.md
Last active December 21, 2025 14:45
Free NTFS read and write solutions

Free NTFS read and write solutions

Mac OS does not support writing to NTFS disk by default. Here is a simple work around to enable NTFS Read/Write support.

  1. Identify either <NAME> or <Universal_Unique_Identifier> of your external device, e.g. use Disk Utility.
  2. Type in terminal
    sudo nano /etc/fstab
    
  3. Add the line that does a trick:
@ksprashu
ksprashu / GEMINI.md
Last active December 21, 2025 14:45
Personal GEMINI.md as on 29-07-2025

Gemini Agent: Core Directives and Operating Protocols

<placeholder_data>
@lee-pai-long
lee-pai-long / caller_info.py
Last active December 21, 2025 14:39 — forked from techtonik/caller_name.py
Python - inspect - Get full caller info: package, module, (class), function, line.
"""
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
@cvcore
cvcore / download_vscode_server.sh
Last active December 21, 2025 14:38
Manual download vscode-server
#!/bin/bash
# This script downloads and installs a specific version of VSCode Server for Linux.
# The version is specified by the first argument to the script.
# You can find the git commit id in the output of Remote - SSH plugin in VSCode.
# The output looks like this:
# ...
# Using commit id "af28b32d7e553898b2a91af498b1fb666fdebe0c" and quality "stable" for server
# ...
@dpino
dpino / ns-inet.sh
Last active December 21, 2025 14:32
Setup a network namespace with Internet access
#!/usr/bin/env bash
# set -x
if [[ $EUID -ne 0 ]]; then
echo "You must be root to run this script"
exit 1
fi
# Returns all available interfaces, except "lo" and "veth*".